package edu.scau.yyl.service;

import java.util.List;

import edu.scau.yyl.vo.User;

public interface UserService {
	
    public boolean deleteUser(User user) throws Exception;   //表示删除操作
    public boolean updateUser(User user) throws Exception;  //表示更新操作
    public User findUserByUserName(String userName) throws Exception;   //表示数据库的查询操作
    public List<User> findAllUser () throws Exception;  // 查询的时候将返回一组对象
    public boolean addUser(User user) throws Exception;//新增一条user表中记录
    public boolean loginCheck(String userName,String password) throws Exception;//登陆
   
	
}
